<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<title th:text="${session.title}">123</title>
	<link th:replace="common/header"/>
	<link rel="stylesheet" th:href="@{/css/ace-skins.min.css}" />
	</head>
	<body class="navbar-fixed">
  	<div th:replace="common/top"></div>
		<div class="container-fluid main_bg" id="main-container">
			<a id="menu-toggler" href="#"><span></span></a>
			<div th:replace="common/menu"></div>
			<div id="main-content" class="clearfix">
				<div id="page-content" class="clearfix">
					<div th:replace="common/title"></div>
					<h3 class="header smaller lighter blue"><em class="icon-edit"></em>修改俱乐部信息</h3>
					<form class="form-horizontal" th:object="${footClub}" method="post" th:action="@{/hy/footClub/edit}" name="form" th:if="${session.footUser.qx.text == '会员' || session.footUser.qx.text == 'VIP1' || session.footUser.qx.text == 'VIP2' || session.footUser.qx.text == 'VIP3'}">
					    <input type="hidden" name="id" th:field="*{id}"/>
                        <div class="row-fluid">
                            <!--PAGE CONTENT BEGINS HERE-->
                            <div class="span6">
                                <div class="control-group">
									<label class="control-label" for="cs">球队名称:</label>
                                    <div class="controls" th:text="${footClub.qdName}">123</div>
                                </div>
                            </div>
                            <div class="span6">
                                <span style="color:red" th:if="${#fields.hasErrors('qdName')}" th:errors="*{qdName}">Name Error</span>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span6">
                            <div class="control-group">
								<label class="control-label" for="cs">城市:</label>
								<div class="controls">
									<input type="text" th:field="*{cs}" name="cs" id="cs" class="input_fix" placeholder="城市"/>
								</div>
							</div>
                            </div>
                            <div class="span6">
                                <span style="color:red" th:if="${#fields.hasErrors('cs')}" th:errors="*{cs}">Name Error</span>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span6">
                            <div class="control-group">
								<label class="control-label" for="qdjj">球队简介:</label>
								<div class="controls">
									<textarea th:field="*{qdjj}" name="qdjj" id="qdjj" class="input_fix" style="height:100px;" placeholder="球队简介"></textarea>
								</div>
							</div>
                            </div>
                            <div class="span6">
                                <span style="color:red" th:if="${#fields.hasErrors('qdjj')}" th:errors="*{qdjj}">Name Error</span>
                            </div>
                        </div>
                        <div class="row-fluid">
                            <div class="span6">
                            <div class="control-group">
								<label class="control-label" for="zyjx">主要奖项:</label>
								<div class="controls">
                                    <textarea th:field="*{zyjx}" name="zyjx" id="zyjx" class="input_fix" style="height:100px;" placeholder="主要奖项"></textarea>
								</div>
							</div>
                            </div>
                            <div class="span6">
                                <span style="color:red" th:if="${#fields.hasErrors('zyjx')}" th:errors="*{zyjx}">Name Error</span>
                            </div>
                        </div>
						<div class="row-fluid">
							<div class="text-center span12"><button class="btn btn-primary" type="submit"><em class="icon-save"></em>提交</button>
			                    <button class="btn btn-danger" type="reset"><em class="icon-remove"></em>取消</button>
			                    <a class="btn" type="button" th:href="@{/hy/footClub/view(id=${footClub.id})}"><em class="icon-arrow-left"></em>返回</a>
		                    </div>
						</div>
					</form>
              		<!--/#page-content-->
				</div>
				<div th:replace="common/skin :: skin"></div>
		</div><!--/#main-content-->
	</div><!--/.fluid-container#main-container-->
	<div th:replace="common/js"></div>
	</body>
</html>
